package com.wkb.design.createModing.abstratorFactory.model;

/**  
 * @author wkb 
 * @version 创建时间：2013-6-13 上午11:14:23  
 * 类说明
 */
public abstract class AbstratorBaseFood {

	private String name;
	
	private float price;
	
	private int num;
	
	public float totleMoney(){
		
		return this.price * this.num;
		
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}
	
	
	
}
